﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class control_publish : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.textfield2.Visible = true;
        this.picUpload.Visible = false;
        this.article.Checked = true;
        this.pic.Checked = false;
    }
    protected void article_CheckedChanged(object sender, EventArgs e)
    {
        this.textfield2.Visible = true;
        this.picUpload.Visible = false;
        this.pic.Checked = false;
        this.article.Checked = true;
    }
    protected void pic_CheckedChanged(object sender, EventArgs e)
    {
        this.textfield2.Visible = false;
        this.picUpload.Visible = true;
        this.article.Checked = false;
        this.pic.Checked = true;
    }
}